package com.example.gomi.intelligentcitypipe.bean;

import java.io.Serializable;

public class Response implements Serializable {

    public static final int HEAD_LENGTH = 4;
    public static final int BODY_LENGTH = 10;


    private byte[] head = new byte[HEAD_LENGTH];
    private byte[] body = new byte[BODY_LENGTH];
    private byte type = 0;

    public byte[] getHead() {
        return head;
    }

    public void setHead(byte[] head) {
        this.head = head;
    }

    public byte[] getBody() {
        return body;
    }

    public void setBody(byte[] body) {
        this.body = body;
    }

    public byte getType() {
        return type;
    }

    public void setType(byte type) {
        this.type = type;
    }
}
